#ifndef MYURL_H
#define MYURL_H
#include <QString>

namespace MyUrl {
    // inline const QString baseUrl = "http://127.0.0.1:5000/IOT_DM";

    // inline const QString deviceBaseUrl = baseUrl + "/Device";

    // inline const QString deviceRegister = deviceBaseUrl + "/Register";
    // inline const QString deviceUpdate = deviceBaseUrl + "/Update";
    // inline const QString deviceDelete = deviceBaseUrl + "/Delete";
    // inline const QString deviceSelect = deviceBaseUrl + "/Select";

    // inline const QString authBaseUrl = baseUrl + "/Authentication";

    // inline const QString authUpdate = authBaseUrl + "/Update";
    // inline const QString authDelete = authBaseUrl + "/Delete";
    // inline const QString authSelect = authBaseUrl + "/Select";

    inline const QString baseUrl = "http://localhost:5000";

    inline const QString deviceBaseUrl = baseUrl + "/Device";

    inline const QString deviceUpdate = deviceBaseUrl + "/Update";
    inline const QString deviceDelete = deviceBaseUrl + "/Delete";
    inline const QString deviceSelect = deviceBaseUrl + "/Select";

    inline const QString authBaseUrl = baseUrl + "/Auth";

    inline const QString authCreate = authBaseUrl + "/Create";
    inline const QString authUpdate = authBaseUrl + "/Update";
    inline const QString authDelete = authBaseUrl + "/Delete";
    inline const QString authSelect = authBaseUrl + "/Select";

    inline const QString dataBaseUrl = baseUrl + "/Data";

    inline const QString dataCreate = dataBaseUrl + "/Create";
    inline const QString dataUpdate = dataBaseUrl + "/Update";
    inline const QString dataDelete = dataBaseUrl + "/Delete";
    inline const QString dataSelect = dataBaseUrl + "/Select";



}
#endif // MYURL_H
